package com.sky.service;

import com.sky.dao.EmployeeDTO;
import com.sky.dao.EmployeeLoginDTO;
import com.sky.dao.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

public interface EmployeeService {
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    PageResult page(EmployeePageQueryDTO employeePageQueryDTO);

    void save(EmployeeDTO employeeDTO);

    Employee getById(Long id);

    void update(EmployeeDTO employeeDTO);

    void starOrStop(Integer status, Long id);
}
